import request from '@/utils/request'
import cfg from '@/config/config'

const standardReports = {
    getPressDoorQueryList:(param) =>{//按门查询进出记录
        return request('post', cfg.apiUrl + 'api/report/getPressDoorQueryList',param);
    },
    findBdRecordType:() =>{//查询所有记录类型
        return request('post', cfg.apiUrl + 'api/report/findBdRecordType');
    },
    getPressUserQueryList:(param) =>{//按人查询进出记录
        return request('post', cfg.apiUrl + 'api/report/getPressUserQueryList',param);
    },
    getPressDeviceQueryList:(param) =>{//按设备查询进出记录
        return request('post', cfg.apiUrl + 'api/report/getPressDeviceQueryList',param);
    },
}

export default standardReports;

